home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-in_the_mag-
/
javascript
/
part4
/
loadpng.js
< prev
next >
Wrap
Text File
|
1999-12-07
|
338b
|
10 lines
TempA = location.href.split('.htm');
TempA[0] = TempA[0] + '_png';
NewURL = TempA.join('.htm');
if (navigator.userAgent.indexOf('Amiga') > -1) location.replace(NewURL);
if (navigator.userAgent.indexOf('Mozilla/4') == 0) location.replace(NewURL);
Version = navigator.appVersion.split(' ');
if (Version[0] >= 5) location.replace(NewURL);